<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<meta name="viewport" content="width=1000, initial-scale=1.0, maximum-scale=1.0">
	    <!-- Loading Bootstrap -->
	    <link href="./Public/Admin/Flat/dist/css/vendor/bootstrap.min.css" rel="stylesheet">
	    <!-- Loading Flat UI -->
	    <link href="./Public/Admin/Flat/dist/css/flat-ui.css" rel="stylesheet">
	    <link href="./Public/Admin/Flat/docs/assets/css/demo.css" rel="stylesheet">
	    <link rel="shortcut icon" href="./Public/Admin/Flat/img/favicon.ico">
	    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
	    <!--[if lt IE 9]>
	      <script src="dist/js/vendor/html5shiv.js"></script>
	      <script src="dist/js/vendor/respond.min.js"></script>
	    <![endif]-->
	    <style type="text/css">
	    	
	    	.label_my{
	    		width: 65px;
	    	}
	    	

	    	.file_info_my{
	    		display: inline-block;
	    		width: 80%;
	    	}
	    	
	    	input[type="file"]{
	    		display: inline-block;
	    		font-size: 14px;
	    		width: 100%;
	    	}

	    </style>
	</head>
	<body>
		<form action="" method="post" enctype="multipart/form-data">
			<div class="alert alert-success">编辑品牌</div>
			<div class="form-group">
				<label for="exampleInputEmail1">品牌名称</label>
				<input id="exampleInputEmail1" class="form-control" type="text" required="" name="bname" value="{{$BrandData['bname']}}">
			</div>
			<input type="hidden" name="bid" id="bid" value="{{$BrandData['bid']}}" />
			
	         <!--品牌logo-->
	        <div class="form-group">
				<label for="exampleInputEmail1" class="label_my">列表图</label>
				<div class="my_file_kk">
					<input id="f" class="file_info_my" type="file" name="blogo">
				    <div id="uploadList">
				        <ul>
				            <li><img src="{{$BrandData['blogo']}}"/></li>
				        </ul>
				    </div>
				    <input type="hidden" name="blogo" id="blogo" value="{{$BrandData['blogo']}}" />
				</div>	
			</div>	
			
			<div class="form-group">
				<label for="exampleInputEmail1">排序</label>
				<input id="exampleInputEmail1" class="form-control" type="text" placeholder="请输入分类排序" required="" name="bsort" value="{{$BrandData['bsort']}}">
			</div>
			
			<div class="form-group">
				是<input class="custom-radio" required="" type="radio" value="1"{{if value="$BrandData['bishot']==1"}}checked="checked"{{endif}} name="bishot">&nbsp;&nbsp;
				否<input class="custom-radio" required="" type="radio" value="0" {{if value="$BrandData['bishot']==0"}}checked="checked"{{endif}} name="bishot">&nbsp;&nbsp;
	       </div>
			<button class="btn btn-primary btn-block" type="submit"> 确定 </button>	
		</form>
	</body>
</html>
